package com.zhitan.ems.app.sip.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhitan.ems.common.annotation.Excel;
import com.zhitan.ems.framework.core.mp.base.BaseEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * sip系统配置
 * 
 * @author zhitan
 * 
 * @date 2025-09-19 22:49:44
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sip_config")
public class SipConfigEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	 */
	@TableId
	@ApiModelProperty("主键")
	@Excel(name = "主键")
	private Long id;
	/**
	 * 产品ID
	 */
	@ApiModelProperty("产品ID")
	@Excel(name = "产品ID")
	private Long productId;
	/**
	 * 产品名称
	 */
	@ApiModelProperty("产品名称")
	@Excel(name = "产品名称")
	private String productName;
	/**
	 * 使能开关
	 */
	@ApiModelProperty("使能开关")
	@Excel(name = "使能开关")
	private Integer enabled;
	/**
	 * 系统默认配置
	 */
	@ApiModelProperty("系统默认配置")
	@Excel(name = "系统默认配置")
	private Integer isdefault;
	/**
	 * 拓展sdp
	 */
	@ApiModelProperty("拓展sdp")
	@Excel(name = "拓展sdp")
	private Integer seniorSdp;
	/**
	 * 服务器域
	 */
	@ApiModelProperty("服务器域")
	@Excel(name = "服务器域")
	private String domainAlias;
	/**
	 * 服务器sipid
	 */
	@ApiModelProperty("服务器sipid")
	@Excel(name = "服务器sipid")
	private String serverSipid;
	/**
	 * sip认证密码
	 */
	@ApiModelProperty("sip认证密码")
	@Excel(name = "sip认证密码")
	private String password;
	/**
	 * sip接入IP
	 */
	@ApiModelProperty("sip接入IP")
	@Excel(name = "sip接入IP")
	private String ip;
	/**
	 * sip接入端口号
	 */
	@ApiModelProperty("sip接入端口号")
	@Excel(name = "sip接入端口号")
	private Long port;
	/**
	 * 创建者
	 */
	@ApiModelProperty("创建者")
	@Excel(name = "创建者")
	private String createBy;
	/**
	 * 创建时间
	 */
	@ApiModelProperty("创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date createAt;
	/**
	 * 更新者
	 */
	@ApiModelProperty("更新者")
	@Excel(name = "更新者")
	private String updateBy;
	/**
	 * 更新时间
	 */
	@ApiModelProperty("更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date updateAt;
	/**
	 * 备注
	 */
	@ApiModelProperty("备注")
	@Excel(name = "备注")
	private String remark;

}